home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / cmds / nslookup / Makefile.orig < prev    next >
Encoding:
Makefile  |  1988-11-23  |  3.5 KB  |  88 lines

  1. #
  2. # Copyright (c) 1987 Regents of the University of California.
  3. # All rights reserved.
  4. #
  5. # Redistribution and use in source and binary forms are permitted
  6. # provided that the above copyright notice and this paragraph are
  7. # duplicated in all such forms and that any documentation,
  8. # advertising materials, and other materials related to such
  9. # distribution and use acknowledge that the software was developed
  10. # by the University of California, Berkeley.  The name of the
  11. # University may not be used to endorse or promote products derived
  12. # from this software without specific prior written permission.
  13. # THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
  14. # IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
  15. # WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  16. #
  17. #    @(#)Makefile    5.18 (Berkeley) 6/18/88
  18. #
  19. CFLAGS=    -O
  20. RES=
  21. LIBC=    /lib/libc.a
  22. LIBS=    -ll ${RES}
  23. CSRCS=    main.c getinfo.c debug.c send.c skip.c list.c subr.c
  24. SRCS=    ${CSRCS} commands.c
  25. OBJS=    main.o getinfo.o debug.o send.o skip.o list.o subr.o commands.o
  26.  
  27. .SUFFIXES: .1 .0
  28.  
  29. .1.0:
  30.     ${DESTDIR}/usr/man/manroff $*.1 > $*.0
  31.  
  32. nslookup: ${OBJS} ${LIBC}
  33.     ${CC} -o $@ ${OBJS} ${LIBS}
  34.  
  35. clean: FRC
  36.     rm -f ${OBJS} core nslookup commands.c nslookup.0 lex.yy.c lex.yy.o
  37.  
  38. depend: ${SRCS} FRC
  39.     mkdep ${CFLAGS} ${SRCS}
  40.  
  41. install: nslookup.0 FRC
  42.     install -s -o bin -g bin -m 755 nslookup ${DESTDIR}/usr/local/nslookup
  43.     install -c -o bin -g bin -m 444 nslookup.help ${DESTDIR}/usr/local/nslookup.help
  44.     install -c -o bin -g bin -m 444 nslookup.0 ${DESTDIR}/usr/local/man/cat1/nslookup.0
  45.  
  46. lint: ${SRCS} FRC
  47.     lint ${SRCS}
  48.  
  49. tags: ${CSRCS} FRC
  50.     ctags ${CSRCS}
  51.  
  52. FRC:
  53.  
  54. # DO NOT DELETE THIS LINE -- mkdep uses it.
  55. # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
  56.  
  57. main.o: main.c /usr/include/stdio.h /usr/include/strings.h
  58. main.o: /usr/include/sys/param.h /usr/include/sys/types.h /usr/include/signal.h
  59. main.o: /usr/include/machine/trap.h /usr/include/machine/machparam.h
  60. main.o: /usr/include/machine/endian.h /usr/include/netdb.h
  61. main.o: /usr/include/sys/socket.h /usr/include/netinet/in.h
  62. main.o: /usr/include/arpa/nameser.h /usr/include/resolv.h /usr/include/signal.h
  63. main.o: /usr/include/setjmp.h res.h
  64. getinfo.o: getinfo.c /usr/include/sys/types.h /usr/include/sys/socket.h
  65. getinfo.o: /usr/include/netinet/in.h /usr/include/stdio.h /usr/include/ctype.h
  66. getinfo.o: /usr/include/arpa/nameser.h /usr/include/resolv.h res.h
  67. debug.o: debug.c /usr/include/sys/types.h /usr/include/netinet/in.h
  68. debug.o: /usr/include/stdio.h /usr/include/arpa/nameser.h /usr/include/resolv.h
  69. debug.o: res.h
  70. send.o: send.c /usr/include/sys/types.h /usr/include/sys/time.h
  71. send.o: /usr/include/time.h /usr/include/sys/socket.h /usr/include/netinet/in.h
  72. send.o: /usr/include/stdio.h /usr/include/arpa/nameser.h /usr/include/resolv.h
  73. send.o: res.h
  74. skip.o: skip.c /usr/include/sys/types.h /usr/include/netinet/in.h
  75. skip.o: /usr/include/stdio.h /usr/include/arpa/nameser.h
  76. list.o: list.c /usr/include/sys/types.h /usr/include/sys/socket.h
  77. list.o: /usr/include/netinet/in.h /usr/include/netdb.h /usr/include/stdio.h
  78. list.o: /usr/include/strings.h /usr/include/ctype.h /usr/include/arpa/nameser.h
  79. list.o: /usr/include/resolv.h res.h
  80. subr.o: subr.c /usr/include/stdio.h /usr/include/strings.h
  81. subr.o: /usr/include/sys/types.h /usr/include/netdb.h /usr/include/sys/socket.h
  82. subr.o: /usr/include/netinet/in.h /usr/include/arpa/nameser.h
  83. subr.o: /usr/include/signal.h /usr/include/machine/trap.h /usr/include/setjmp.h
  84. subr.o: res.h
  85. commands.o: commands.c /usr/include/stdio.h res.h
  86.  
  87. # IF YOU PUT ANYTHING HERE IT WILL GO AWAY
  88.